package com.smj;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Title: ServletInitializer
 * Description: 相当于整个Web.xml
 * Company: blog.csdn.net/lu1005287365/
 * @author  shemingjun
 * @version 1.0
 */
public class ServletInitializer extends SpringBootServletInitializer {


    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(Application.class);
    }


}